package org.bigdata.framework.core.model;

import java.io.Serializable;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.enums.IdType;

/**
 * <p>
 * 
 * </p>
 *
 * @author dal.anhuifeng
 * @since 2017-04-18
 */
public class Log implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 
	 */
	@TableId(type = IdType.AUTO)
	private Integer id;

	/**
	 * 日志类型（login/logout/knowledge_data/general_data）
	 */
	@TableField(value="log_type")
	private String logType;

	/**
	 * 创建时间
	 */
	@TableField(value="create_time")
	private String createTime;

	/**
	 * 创建者用户名id
	 */
	@TableField(value="create_user_id")
	private Integer createUserId;

	/**
	 * 创建者ip地址
	 */
	@TableField(value="create_ip_address")
	private String createIpAddress;

	/**
	 * 类ID (knowledge_data)
	 */
	@TableField(value="classes_id")
	private String classesId;

	/**
	 * 数据ID (knowledge_data)
	 */
	@TableField(value="data_id")
	private String dataId;

	/**
	 * 日志内容
	 */
	@TableField(value="log_text")
	private String logText;

	/**
	 * 状态
	 */
	@TableField(value="log_status")
	private Integer logStatus;



	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getLogType() {
		return logType;
	}

	public void setLogType(String logType) {
		this.logType = logType;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}

	public Integer getCreateUserId() {
		return createUserId;
	}

	public void setCreateUserId(Integer createUserId) {
		this.createUserId = createUserId;
	}

	public String getCreateIpAddress() {
		return createIpAddress;
	}

	public void setCreateIpAddress(String createIpAddress) {
		this.createIpAddress = createIpAddress;
	}

	public String getClassesId() {
		return classesId;
	}

	public void setClassesId(String classesId) {
		this.classesId = classesId;
	}

	public String getDataId() {
		return dataId;
	}

	public void setDataId(String dataId) {
		this.dataId = dataId;
	}

	public String getLogText() {
		return logText;
	}

	public void setLogText(String logText) {
		this.logText = logText;
	}

	public Integer getLogStatus() {
		return logStatus;
	}

	public void setLogStatus(Integer logStatus) {
		this.logStatus = logStatus;
	}

}
